package com.zqx.state.abstractAndState;

import com.zqx.state.context.Account;

/**
 * descritpion: 抽象状态类
 * @author zqx
 * @date 2018/09/05
 */
public abstract class AccountState {

    protected Account acc;
    public abstract void deposit(double amount);
    public abstract void withdraw(double amount);
    public abstract void computeInterest();
    public abstract void stateCheck();
}
